#!/bin/bash

SAMEHOST=$HOSTNAME","$HOSTNAME
DIFFHOST="creek04,creek05"

	echo "SAMEHOST= " $SAMEHOST
	mpirun -host $SAMEHOST -np 2 --mca btl tcp,self ./MPIrtt | tee -a "same.dat"
	echo >> "same.dat"

	echo "DIFFHOST= " $DIFFHOST
	mpirun -host $DIFFHOST -np 2 --mca btl tcp,self ./MPIrtt | tee -a "different.dat"
	echo >> "different.dat"
